package com.cbox.entity;

import java.util.Date;

/**
 * Created by Administrator on 2017-12-05.
 */
public class Product {
    private long id;
    private long categoryId;
    private long typeId;
    private long borderId;
    private String code;
    private String typeCode;
    private String name;
    private String keys;
    private String picLarge;
    private String picSmall;
    private String text;
    private String content;
    private String PT;
    private double priceDisc;
    private Date onTime;
    private short isNew;
    private short isVouch;
    private short isCheck;
    private String checkAdmin;
    private Integer hits;
    private Integer reviews;
    private Integer sellCount;
    private Date inTime;

    public Product(long id, long categoryId, long typeId, long borderId, String code, String typeCode, String name, String keys, String picLarge, String picSmall, String text, String content, String PT, double priceDisc, Date onTime, short isNew, short isVouch, short isCheck, String checkAdmin, Integer hits, Integer reviews, Integer sellCount, Date inTime) {
        this.id = id;
        this.categoryId = categoryId;
        this.typeId = typeId;
        this.borderId = borderId;
        this.code = code;
        this.typeCode = typeCode;
        this.name = name;
        this.keys = keys;
        this.picLarge = picLarge;
        this.picSmall = picSmall;
        this.text = text;
        this.content = content;
        this.PT = PT;
        this.priceDisc = priceDisc;
        this.onTime = onTime;
        this.isNew = isNew;
        this.isVouch = isVouch;
        this.isCheck = isCheck;
        this.checkAdmin = checkAdmin;
        this.hits = hits;
        this.reviews = reviews;
        this.sellCount = sellCount;
        this.inTime = inTime;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(long categoryId) {
        this.categoryId = categoryId;
    }

    public long getTypeId() {
        return typeId;
    }

    public void setTypeId(long typeId) {
        this.typeId = typeId;
    }

    public long getBorderId() {
        return borderId;
    }

    public void setBorderId(long borderId) {
        this.borderId = borderId;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getTypeCode() {
        return typeCode;
    }

    public void setTypeCode(String typeCode) {
        this.typeCode = typeCode;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getKeys() {
        return keys;
    }

    public void setKeys(String keys) {
        this.keys = keys;
    }

    public String getPicLarge() {
        return picLarge;
    }

    public void setPicLarge(String picLarge) {
        this.picLarge = picLarge;
    }

    public String getPicSmall() {
        return picSmall;
    }

    public void setPicSmall(String picSmall) {
        this.picSmall = picSmall;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getPT() {
        return PT;
    }

    public void setPT(String PT) {
        this.PT = PT;
    }

    public double getPriceDisc() {
        return priceDisc;
    }

    public void setPriceDisc(double priceDisc) {
        this.priceDisc = priceDisc;
    }

    public Date getOnTime() {
        return onTime;
    }

    public void setOnTime(Date onTime) {
        this.onTime = onTime;
    }

    public short getIsNew() {
        return isNew;
    }

    public void setIsNew(short isNew) {
        this.isNew = isNew;
    }

    public short getIsVouch() {
        return isVouch;
    }

    public void setIsVouch(short isVouch) {
        this.isVouch = isVouch;
    }

    public short getIsCheck() {
        return isCheck;
    }

    public void setIsCheck(short isCheck) {
        this.isCheck = isCheck;
    }

    public String getCheckAdmin() {
        return checkAdmin;
    }

    public void setCheckAdmin(String checkAdmin) {
        this.checkAdmin = checkAdmin;
    }

    public Integer getHits() {
        return hits;
    }

    public void setHits(Integer hits) {
        this.hits = hits;
    }

    public Integer getReviews() {
        return reviews;
    }

    public void setReviews(Integer reviews) {
        this.reviews = reviews;
    }

    public Integer getSellCount() {
        return sellCount;
    }

    public void setSellCount(Integer sellCount) {
        this.sellCount = sellCount;
    }

    public Date getInTime() {
        return inTime;
    }

    public void setInTime(Date inTime) {
        this.inTime = inTime;
    }
}
